<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
   <p id="1">你好我是一句话</p>

    

    <button id="btn">按钮(可点击)</button>
    <script src="jquery-3.7.1.min.js"></script>>
    <script>
        $(document).ready(function(){
            console.log("文档加载完成");
            $("#btn").click(function(){
                $(this).hide();
               
            });

            let conntent = $("#1").text();
            console.log(conntent);
        })
    </script>
</body>
</html>